/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sandbox.org.wads.elements;

import org.enhydra.shark.xpdl.XMLCollection;
import org.enhydra.shark.xpdl.XMLElement;

/**
 *
 * @author Nattasan W.
 */
public class DataFields extends XMLCollection {
  
  public DataFields(RequestDetails parent) {
    super(parent, false);
  }

  @Override
  public XMLElement generateNewElement() {
    return new DataField(this);
  }
  
  public DataField getDataField(String id) {
    return (DataField)super.getCollectionElement(id);
  }

}
